* {
  box-sizing: border-box;
}

html,
body {
  /* width: 100%;
  height: 100%;
  overflow: hidden; */
  margin: 0;
  /* padding: 2%; */
  background: #c8042c;
}

button {
  outline: none;
}

.counter {
  width: 660px;
  padding: 60px 0;
  border: 2px solid #000;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.ranking {
  font-size: 30px;
  height: 40px;
  line-height: 40px;
}

.text {
  font-size: 90px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.btns {
  height: 40px;
}

.btn {
  font-size: 16px;
  background-color: rgb(87, 85, 85);
  border-radius: 5px;
  width: 100px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  cursor: pointer;
  margin: 0 auto;
  display: none;
  -webkit-user-select: none;
  user-select: none;
}

.startbtn {
  display: block;
}

.btn.startbtn:hover {
  background-color: rgb(10, 161, 10);
}

.btn.stopbtn:hover {
  background-color: rgba(168, 9, 9, 1);
}

.header {
  /* background-image: url(./image/01ece3554247540000019ae97007b3.jpg@2o.png); */
  width: 100%;
  position: relative;
}

.title {
  color: #fff;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
}

.header img {
  width: 100%;
}

.list {
  background: #fceac4;
  height: 300px;
  width: 30%;
}

.container {
  /* border: 1px solid #f70031; */
  margin: 20px auto;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
::-webkit-scrollbar{
  display: none;
}

.list-table {
  height: 250px;
  overflow: auto;
  margin: 20px auto;
  background: #fdea9d;
  /* height: 250px; */
  width: 80%;
  position: relative;
}

.luck-list {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fa8808;
  color: #fff;
  border-radius: 10px;
  width: 100px;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

.table {
  color: #c8042c;
  padding: 20px;
  margin-top: 50px;
}
.table tr td {
  width: 70px;
  text-align: center !important;
}

.table td {
  border: none;
}

.view {
  border: 1px solid #fcd538;
  background: #fb5702;
  height: 280px;
}

.luck {
  height: 300px;
  padding: 20px;
  width: 70%;
  margin-right: 10px;
  position: relative;
}

.start {
  background: #feef4a;
  border: 0px solid #000;
  width: 100px;
  height: 30px;
  border-radius: 10px;
  margin-right: 20px;
}

.stop {
  background: #fdac21;
  border: 0px solid #000;
  width: 100px;
  height: 30px;
  border-radius: 10px;
  margin-right: 20px;
}

.input {
  display: flex;
  width: 96%;
  outline: none;
  justify-content: center;
  position: absolute;
  bottom: 10px;
}

.num {
  background: #fb5702;
  margin: 20px auto;
  width: 80%;
  height: 200px;
  text-align: center;
  line-height: 150px;
  font-size: 50px;
  color: #fcd538;
}

.rankings {
  color: #fff;
  font-weight: bold;
  background: #fecf10;
  width: 100%;
  height: 30px;
  text-align: center;
  padding: 5px;
}

@media screen and (max-width: 1280px) {
  .title {
    font-size: 45px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
  }

  .luck {
    width: 100%;
    padding: 0px;
    margin-bottom: 20px;
  }

  .num {
    font-size: 30px;
  }

  .input {
    bottom: 30px;
  }

  .list {
    width: 100%;
  }
  .start {
    left: 50%;
    transform: translateX(5%);
    margin-right: 0px;
  }

  .luck-list {
    left: 50%;
    transform: translateX(-50%);
  }
  .view{
   position: relative;
   left: 5px;
  }

  .table {
    margin-top: 50px;
    border: none;
  }

  .title {
    font-size: 25px;
  }
}